package com.istock.base;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = {"com.istock.base.dbmigr","com.istock.base"})
@EnableTransactionManagement
@MapperScan(basePackages = "com.istock.base.dbmigr.dao;com.istock.base.test.dao" ,annotationClass = Mapper.class)
public class DbMigrationApplication {

	public static void main(String[] args) {
		SpringApplication.run(DbMigrationApplication.class, args);
	}
}
